package com.cmc.cloud.cmclink.doc.vo.doinfovo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 进口单证do分页 Request VO
 * 
 * @author codegen
 */
@Schema(description = "管理后台 - 进口单证do分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DoInfoPageReqVO extends PageParam {

    @Schema(description = "提单号", example = "25275")
    private Long blnoId;

    @Schema(description = "D/O状态", example = "1")
    private String doStatus;

    @Schema(description = "实际换单人代码（CMS Code）")
    private String doExchangerCode;

    @Schema(description = "实际换单人英文名称")
    private String doExchangerNameEn;

    @Schema(description = "实际换单人中文名称")
    private String doExchangerNameCn;

    @Schema(description = "换单人统一信用代码")
    private String uniqueIdentifier;

    @Schema(description = "预约换单单位代码（CMS Code）")
    private String reservedDoCode;

    @Schema(description = "预约换单单位英文名称")
    private String reservedDoNameEn;

    @Schema(description = "预约换单单位中文名称")
    private String reservedDoNameCn;

    @Schema(description = "预约换单单位统一信用代码")
    private String reservedDoIdentifier;

    @Schema(description = "DO设置人")
    private String setDoOperator;

    @Schema(description = "DO设置时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] setDoTime;

    @Schema(description = "取消换单人")
    private String cancelDoOperator;

    @Schema(description = "取消换单时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] cancelDoTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
